﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace WpfScratchApp
{
    public class CustomerViewModel
    {
        public CustomerViewModel()
        {
            SourceList = new ObservableCollection<Customer>();

            SourceList.Add(new Customer { FirstName = "Tom", LastName = "Jones" });
            SourceList.Add(new Customer { FirstName = "Joe", LastName = "Thompson" });
            SourceList.Add(new Customer { FirstName = "Jill", LastName = "Smith" });
        }
        
        public ObservableCollection<Customer> SourceList { get; private set; }
    }
}
